</div>
</div>
<div id="sidebar" class="clear">
<ul class="secondary">
	<li id="search">
		<h2>Search</h2>
		<form method="get" id="searchform" action="<?php bb_option('uri'); ?>search.php">
		<div>
		<label class="hidden" for="s">Search for:</label>
		<input id="s" name="s" type="text" value="Search the site..." onfocus="if (this.value == 'Search the site...') {this.value = '';}" onblur="if (this.value == '') {this.value = 'Search the site...';}" size="10" tabindex="1" />
		<input type="submit" id="searchsubmit" value="Search" />
		</div>
		</form>
	</li>
	<li class="login">
		<?php login_form(); ?>
		<?php if ( is_bb_profile() ) profile_menu(); ?>
		<div class="clear"></div>
	</li>
	
	
	<li id="tag_cloud">
		<h2>Hot Topics</h2>
		<?php bb_tag_heat_map(); ?>
	</li>	
	<?php if ( bb_is_user_logged_in() ) : ?>
	<li id="categories">
		<h2>Views</h2>
		<ul>
		<?php foreach ( bb_get_views() as $the_view => $title ) : ?>
		<li class="view"><a href="<?php view_link( $the_view ); ?>"><?php view_name( $the_view ); ?></a></li>
		<?php endforeach; ?>
		</ul> 
	</li>
	<?php endif; // bb_is_user_logged_in() ?>

</ul>
	<div class="clear"></div>
</div>


</div>
<div id="footer" class="clear">
<?php bb_load_template('menu.php'); ?>
<ul id="copyright">
	<li>Copyright &copy; <?php echo date('Y'); ?> <a href="<?php bb_option('uri'); ?>"><?php bb_option('name'); ?></a></li>
	<li><a href="http://performancing.com/">Performancing</a>'s <a href="http://themes.performancing.com/">Too Newsy theme</a> by <a href="http://stellify.net/">Sophia Lucero</a> &amp; <a href="http://ericlbarnes.com">Eric Barnes</a></li>
	<li class="last">Powered by <a href="http://bbpress.org" >bbPress</a></li>
</ul>
</div>
<?php do_action('bb_foot', ''); ?>
</div></body>
</html>